//
//  ForumCollectionCell.m
//  cityCar
//
//  Created by yao on 14-10-28.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ForumCollectionCell.h"
#import "ForumView.h"

@implementation ForumCollectionCell

- (void)dealloc
{
    [_forumView release];
    [super dealloc];
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.forumView = [[ForumView alloc] init];
        [self.contentView addSubview:self.forumView];
        [_forumView release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.forumView.frame = self.contentView.frame;
    
    //    [self setupForumView];
}

//- (void)setupForumView
//{
//    ForumView *forumVC = [[ForumView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)];
//    [self.myView addSubview:forumVC];
//}


/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect
 {
 // Drawing code
 }
 */

@end
